#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :


# 用户登录需求
name = input("请输入用户名：")
password = int(input("请输入密码："))

print(name == "micah" and password == 123456)

age = 20
gender = 'male'

print("符合要求吗？")
print(19 < age < 50 and gender == 'male')  # 方式一：简单的写法
print(19 < age and age < 50 and gender == 'male')  # 方式二：一般的写法

